#include <stdio.h>

int main(void)
{
    int i;
    char str[6] = "hello";
    char reverse_str[6] = "";

    printf("str is: %s\n", str);
    for (i = 0; i < 5; i++)
        reverse_str[5 - i] = str[i];
    printf("reverse_str is: %s\n", reverse_str);
    return 0;
}